Derived unique random key per transaction

ABSTRACT

In one arrangement, a method for using symmetric keys between two entities comprising a device and a host include initiating, by the device, a transaction involving original data, wherein the original data needs to be verified by the host. The method further includes deriving, by the device, a first key based on a previously generated key and a first number, wherein the first key is unique to the transaction, and the first number is randomly generated. The method further includes sending, by the device, the first key to the host for verification.

BACKGROUND

The existing Derive Unique Key Per Transaction (DUKPT), defined in the American National Standards Institute (ANSI) standard X9.24-3 provides a method to enable a transaction processing service (TPS) to receive cryptographically protected personal identification numbers (PIN) from numerous terminals using a unique symmetric cryptographic key per transaction in an asynchronous manner but only managing one base key. DUKPT accomplishes this by using a transaction counter with a maximum limit and various one-way functions to derive keys, which are used to encrypt a PIN at the point of entry. The encrypted data, the transaction counter, and the terminal identifier (TID) are sent to the host system. The host is able to re-derive the terminal initial key and then re-derive the cryptographic key using the transaction counter and the initial key. Once the initial key has been injected into the terminal and the terminal has been deployed, initial key replacement is problematic. Older terminals were decommissioned when the transaction counter maximized, or replacement initial keys might be loaded using manual procedures or newer methods including asymmetric (public key cryptography) key exchange.

SUMMARY

In one arrangement, a method for using symmetric keys between two entities comprising a device and a host includes initiating, by the device, a transaction involving a first original data, wherein the first original data needs to protected. The method further includes deriving, by the device, a first cryptographic key based on an initial key and a first number, wherein the first cryptographic key is unique to the transaction, and the first number is randomly generated. The method further includes encrypting, by the device, the first original data with the first cryptographic key. The device generates a first parameter based on the first number and sends the protected first original data and the first parameter to the host.

In another arrangement a client device comprises a network interface and a processing circuit. The processing circuit is configured to initiate, by the client device, a transaction involving a first original data, wherein the first original data needs to be protected. The processing circuit is further configured to derive, by the device, a first cryptographic key based on an initial key and a first number, wherein the first cryptographic key is unique to the transaction, and the first number is randomly generated. The processing circuit is further configured to protect, by the device, the first original data with the first cryptographic key. The processor is also configured to generate, by the device, a first parameter based on the first number and send, by the device, the first cryptographic key and the first parameter to a host.

In a further arrangement, a method for using symmetric keys between a device and a host includes receiving, by the host, a first parameter, an initial key, and a protected first original data from the device, wherein the first parameter is unique to a transaction. The method further includes deriving, by the host, a first host-derived cryptographic key based on the first parameter and the initial key. The method also includes decrypting and verifying, by the host, the protected first original data based on the first host-derived cryptographic key.

In another arrangement, a host comprises a network interface and a processing circuit configured to receive a first parameter, an initial key, and a protected first original data from a device, wherein the first parameter is unique to a transaction. The processing circuit is further configured to derive a host-derived cryptographic key based on the first parameter and the initial key. The processing circuit is also configured to decrypt and verify, by the host, the protected first original data based on the first host-derived cryptographic key.

These and other features, together with the organization and manner of operation thereof, will become apparent from the following detailed description when taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a system for generating cryptographic keys between a device and a host, according to some arrangements.

FIG. 2A is a block diagram of an example of the device of the system set forth in FIG. 1, according to some arrangements.

FIG. 2B is a block diagram of an example of the host of the system set forth in FIG. 1, according to some arrangements.

FIG. 2C is a block diagram of an example of the key injection system set forth in FIG. 1, according to some arrangements.

FIG. 3 is a flow diagram illustrating a method for generating cryptographic keys and encrypting and decrypting original data, according to various arrangements.

FIG. 4 is a flow diagram illustrating a method for generating cryptographic keys and encrypting and decrypting original data, according to various arrangements.

FIG. 5 is a block diagram of an example of the cryptographic key generation process set forth in FIG. 3.

DETAILED DESCRIPTION

Referring generally to the FIGS., apparatuses, systems, methods, and non-transitory computer-readable media described herein relate to deriving and generating a Derived Unique Random Key Per Transaction (DURKPT). In some arrangements, a key generated using a DURKPT method is used once per transaction and is unique to that transaction. The same original data encrypted with a different key will yield a different cryptogram.

The original data can be communicated between a device and a host, with the key derived using the DURKPT method used to encrypt and decrypt the original data. In some arrangements, the host stores only the base key from which other keys are derived, while other derived keys can be deleted after being used.

Arrangements described herein enable a device (e.g., a transaction origination service) to receive cryptographically protected data (e.g., encryption, MAC, HMAC, etc.) from numerous terminals using a unique symmetric cryptographic key per device and per transaction. Furthermore, each terminal only contains symmetric keys that have not yet been used such that the physical compromise of one terminal does not affect other terminals, the device, or previous transactions from the compromised terminal. Arrangements described herein do not employ asymmetric cryptography, therefore the methods described herein are post quantum cryptography (PQC) ready. Arrangements described herein employs a random number generator (RNG) and straightforward modular arithmetic to derive an unlimited number of random keys chosen from a very large key space like an Advanced Encryption Standard (AES) 256-bit space. Though it is possible that the same key may be chosen more than once, using a RNG makes this occurrence unpredictable and undetectable. Arrangements described herein also support any symmetric algorithm (e.g., the AES algorithm). Additionally, the arrangements described herein do not require rekeying or decommissioning because new, random keys are continuously generated. Arrangements described herein provide for generation of unpredictable keys, thus providing more security than a traditional DUKPT model. Accordingly, the arrangements described herein provide for more secure key generation than traditional DUKPT models by incorporating randomly generated numbers in the key generation process.

A symmetric key refers to a cryptographic key that is identical for the sender and receiver of a data transmission. Both the sender and receiver must have the same key (e.g., the symmetric key) for the data to be transmitted to the receiver such that the receiver can either decipher the encrypted data or verify an Integrity Check Value (ICV) based on a hash-based message authentication code (HMAC) or a message authentication code (MAC).

FIG. 1 is a block diagram of a system 100 for generating cryptographic keys between a device and a host, according to some arrangements. The system 100 includes at least a device 110, a host 120, and a key injection facility 150. Each of the device 110, the host 120, and the key injection facility 150 is a computing system having processing, storage, and networking capabilities for generating, communicating, and or verifying keys (e.g., a key 140). In some arrangements, the device 110 can be a terminal (e.g., a payment processor, a bank, etc.). In other arrangements, the device 110 can be an Internet connected computing device (e.g., a computer, smartphone, etc.). In yet other arrangements, the device 110 can be any Internet of Things (IoT) connected device (e.g., a digital assistant, a thermostat, a vehicle, etc.). In some arrangements, the host 120 can be a TPS (e.g., a payment processing system, etc.). In other arrangements, the host 120 can be any Internet connected device that has a network address (e.g., a computer, smartphone, etc.). In particular, the device 110 can derive the key 140 and send encrypted original data 170 and a parameter 180 to the host 120 via the network 130. The key 140 is a DURKPT in the manner described with reference to FIG. 3. The key 140 is a symmetric key and can be derived from an initial key and a random number. The key 140 and is used to protect the encrypted original data 170 communicated between the device 110 and the host 120.

The original data can be any type of information. Examples of original data include, but are not limited to, a payment card number (e.g., a credit card number, a debit card number, and the like), a financial account number, a password, social security number, a name, an address, an email address, or any Personally Identifiable Information (PII). In some examples, the original data can be a security object (e.g., a token, a certificate, and the like). In some examples, the original data can be a seed for key-generation (e.g., for generating a One-Time-Password (OTP)). The examples of the original data presented herein are not intended to be an exhaustive list of all possible implementations. The original data refers to any information that needs protection during transmission and storage.

The device 110 is a device that can initiate transactions for which keys (e.g., the key 140) need to be generated to protect the original data associated with those transactions. Examples of the device 110 include, but are not limited to, a mobile device, a smartphone, a laptop computer, a tablet, a desktop computer, a point-of-sale (POS) device, an Automatic Teller Machine (ATM), and the like. In some arrangements, the same original data (e.g., a payment number, PIN, etc.) can be associated with multiple transactions. Illustrating with a non-limiting example, payment transactions in different instances using the same payment card number can be initiated via the device 110. Other types of transactions (such as, but not limited to, exchange security objects) can be likewise implemented. A user (e.g., a customer, a merchant, and the like) can initiate the transaction by providing corresponding user input. In some arrangements, the device 110 does not store the original data or used keys. The device 110 can derive the keys (e.g., the key 140) on an ad hoc basis, responsive to each transaction. In some arrangements, the device 110 stores a local copy of the original data.

The host 120 is a computing system that can receive the encrypted original data 170 and the parameter 180 from the device 110 and derive a key 160. The key 160 allows the host 120 to decrypt the encrypted original data 170. In some arrangements, the host 120 stores the original data from which the key 140 is derived. In some arrangements, the host 120 does not store any keys aside from a base key from which other keys can be derived. The host 120 can derive the keys (e.g., the key 160) on an ad hoc basis, responsive to each transaction. In other words, the host 120 can function as a TPS without any key storage. Illustrating with a non-limiting example, the host 120 can be a computing system of a financial institution that issues a bank card (e.g., a credit card, a debit card, and the like) to the user of the device 110. The host 120 can authenticate or approve transactions initiated by the user by verifying the original data (e.g., the encrypted original data 170) corresponding to those respective transactions.

The key injection facility 150 is a computing system that can use a unique identifier for the device 110 (e.g., a serial number, etc.) as input to a function, and derive an initial key that is loaded into the device 110 and the host 120. The initial key is used as the basis for generating future keys (e.g., the key 140 and the key 160) according to the DURKPT schema.

The network 130 is any suitable Local Area Network (LAN), Wide Area Network (WAN), or a combination thereof. For example, the network 130 can be supported by Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA) (particularly, Evolution-Data Optimized (EVDO)), Universal Mobile Telecommunications Systems (UMTS) (particularly, Time Division Synchronous CDMA (TD-SCDMA or TDS) Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), evolved Multimedia Broadcast Multicast Services (eMBMS), High-Speed Downlink Packet Access (HSDPA), and the like), Universal Terrestrial Radio Access (UTRA), Global System for Mobile Communications (GSM), Code Division Multiple Access 1× Radio Transmission Technology (1×), General Packet Radio Service (GPRS), Personal Communications Service (PCS), 802.11X, ZigBee, Bluetooth, Wi-Fi, any suitable wired network, combination thereof, and/or the like. The network 130 is structured to permit the exchange of data, values, instructions, messages, and the like.

FIG. 2A is a block diagram of an example of the device 110 of the system 100 set forth in FIG. 1, according to some arrangements. Referring to FIGS. 1-2A, the device 110 is shown to include various circuits and logic for implementing the operations described herein. More particularly, the device 110 includes one or more of a processing circuit 202, an input/output circuit 205, a network interface 206, a banking client application 207, a mobile wallet client application 209, and a key derivation circuit 211. While various circuits, interfaces, and logic with particular functionality are shown, it should be understood that the device 110 includes any number of circuits, interfaces, and logic for facilitating the operations described herein. For example, the activities of multiple circuits are combined as a single circuit and implemented on a same processing circuit (e.g., the processing circuit 202), as additional circuits with additional functionality are included.

In some arrangements, the device 110 includes a processing circuit 202 having a processor 203 and memory 204. The processor 203 is implemented as a general-purpose processor, an Application Specific Integrated Circuit (ASIC), one or more Field Programmable Gate Arrays (FPGAs), a Digital Signal Processor (DSP), a group of processing components, or other suitable electronic processing components. The memory 204 (e.g., Random Access Memory (RAM), Read-Only Memory (ROM), Non-volatile RAM (NVRAM), Flash Memory, hard disk storage, etc.) stores data and/or computer code for facilitating the various processes described herein. Moreover, the memory 204 is or includes tangible, non-transient volatile memory or non-volatile memory. Accordingly, the memory 204 includes database components, object code components, script components, or any other type of information structure for supporting the various activities and information structures described herein. In some arrangements, the memory 204 stores various security keys, such as, but not limited to, the key 140.

The input/output circuit 205 is configured to receive user input from and provide information to the user. In this regard, the input/output circuit 205 is structured to exchange data, communications, instructions, etc. with an input/output component of the device 110. Accordingly, in some arrangements, the input/output circuit 205 includes an input/output device such as a display device, touchscreen, keyboard, microphone, and/or the like. In arrangements in which the device 110 is a POS device or an ATM, the input/output circuit 205 can include one or more of a payment card reader, a barcode reader, a Bluetooth device, a Near Field Communication (NFC) reader, and the like for receiving information from a customer. In some arrangements, the input/output circuit 205 includes communication circuitry for facilitating the exchange of data, values, messages, and the like between the input/output device and the components of the device 110. In some arrangements, the input/output circuit 205 includes machine-readable media for facilitating the exchange of information between the input/output device and the components of the device 110. In still another arrangement, the input/output circuit 205 includes any combination of hardware components (e.g., a touchscreen), communication circuitry, and machine-readable media.

The network interface 206 is configured for and structured to establish connection with the server 120. The network interface 206 is structured for sending and receiving of data over a communication network (e.g., the P2P network). Accordingly, the network interface 206 includes any of a cellular transceiver (for cellular standards), local wireless network transceiver (for 802.11X, ZigBee, Bluetooth, Wi-Fi, or the like), wired network interface, a combination thereof (e.g., both a cellular transceiver and a Bluetooth transceiver), and/or the like.

One or more of the banking client application 207 and the mobile wallet client application 209 are server-based applications executable on the device 110. In this regard, the user of the device 110 has to first download the application(s) prior to usage. In another arrangement, the banking client application 207 and/or mobile wallet client application 209 are coded into the memory 204 of the device 110. In still another arrangement, the banking client application 207 and/or mobile wallet client application 209 are web-based interface applications. In this configuration, the user has to log onto or otherwise access the web-based interface before usage. In this regard, at least one of the banking client application 207 and mobile wallet client application 209 is supported by a separate computing system comprising one or more servers, processors, network interface modules, etc. that transmit the applications for use to the device 110. In certain arrangements, one or more of the banking client application 207 and/or mobile wallet client application 209 include an Application Protocol Interface (API) and/or a Software Development Kit (SDK) that facilitate integration of other applications. All such variations and combinations are intended to fall within the spirit and scope of the present disclosure.

The banking client application 207 is communicably coupled to the host 120 (e.g., an account database 228 of FIG. 2B) and is structured to permit management of at least one account of the user via the banking client application 207. In this regard, the banking client application 207 provides displays indicative of account information, such as, but not limited to, current account balances, pending transactions, profile information (e.g., contact information), rewards associated with the account, bill pay information, and/or the like. Further, in some arrangements, the banking client application 207 is configured to process payments from the user to a designated recipient. In some examples, a bill pay option is provided by the banking client application 207, where the bill pay option allows the user to pay his/her bills in response to user input. Accordingly, the banking client application 207 can be used to initiate transactions.

As mentioned herein, the user pays bills (e.g., mortgage, etc.), views balances, pays merchants, and otherwise manages their account via the banking client application 207. Accordingly, and as shown, the mobile bank client application 207 includes an account information circuit 208. The account information circuit 208 is linked or otherwise coupled to one or more accounts held by the user and permits management of the associated accounts (e.g., transfer balances between accounts, view payment history, etc.) by communicating with the host 120. The banking client application 207 is communicably coupled to the mobile wallet client application 209. As such, in response to a mobile payment via the mobile wallet client application 209, the mobile wallet client application 209 causes the banking client application 207 to update the payment account (i.e., the account that supported the mobile payment). As such, the applications 207 and 209 are communicably coupled to each other to enable actions supported by each respective application.

The mobile wallet client application 209 is communicably coupled to the host 120 (e.g., a mobile wallet database 229) and is structured to facilitate purchases by the user via the mobile wallet client application 209. Accordingly, the mobile wallet client application 209 is linked or otherwise connected with one or more accounts of the user. In the arrangements in which the device 110 is a customer's mobile device, when at a POS terminal, the user initiates the mobile wallet client application 209 and provides a passcode (e.g., biometrics such as a thumbprint, a Personal Identification Number (PIN), a password, etc.) to authenticate the user and select the source payment account desired (e.g., a checking account from a particular financial institution that is linked to the mobile wallet client application 209). Via communication with the payment terminal (e.g., via near field communication), the aforementioned payment information is provided to the POS terminal or the merchant (e.g., via NFC, via barcode presentment, etc.), and the payment is processed. Beneficially, carrying payment cards is avoided or reduced via the mobile wallet client application 209. Accordingly, the mobile wallet client application 209 can be used to initiate transactions.

As mentioned herein, the mobile wallet client application 209 is structured to facilitate and permit payments by interfacing with a user's account managed by the host 120. Accordingly, the mobile wallet client application 209 is communicably coupled via the network interface 206 over the network 130 to the host 120. As shown, the mobile wallet client application 209 includes a payment processing circuit 210 structured to facilitate payments by the user via the mobile wallet client application 209. For example, the payment processing circuit 210 enables a quick-pay capability with a merchant. In this regard, the payment processing circuit 210 includes or is communicably coupled with a communication device (e.g., a near-field communication chip) that facilitates the exchange of information between the mobile wallet client application 209 and a POS terminal.

The key derivation circuit 211 is executed by the processing circuit 202 in some arrangements. The key derivation circuit 211 can derive keys (e.g., the key 140) based on an initial key and a random number in the manner described. The device 110 can provide the key derivation circuit 211 in various manners. In some arrangements, the key derivation circuit 211 is a server-based application executable on the device 110. In this regard, the user of the device 110 has to download the key derivation circuit 211 from the host 120 or another application download server prior to usage. In some arrangements, the key derivation circuit 211 is a web-based interface application provided by the host 120. In this configuration, the user has to log onto or otherwise access the web-based interface before usage. In this regard, the host 120 transmits the key derivation circuit 211 to the device 110. In some arrangements, the key derivation circuit 211 includes an API and/or an SDK provided by the host 120 that facilitates integration with other applications. In other arrangements, the key derivation circuit 211 is coded into the memory 204 of the device 110. All such variations and combinations are intended to fall within the spirit and scope of the present disclosure.

The key derivation circuit 211 is operatively coupled to one or more of the components of the device 110. For example, the key derivation circuit 211 is operatively coupled to the network interface 206 for communicating with the server 120. The key derivation circuit 211, as facilitated by the network interface 206, can send original data and a parameter, such as, but not limited to, the encrypted original data 170 and the parameter 180, to the host 120. In some examples, the key derivation circuit 211 is coupled to the input/output circuit 205 to display output and receive user input.

FIG. 2B is a block diagram of an example of the host 120 of the system 100 set forth in FIG. 1, according to some arrangements. Referring to FIGS. 1-2B, the host 120 is shown to include various circuits and logic for implementing the operations described herein. More particularly, the host 120 includes one or more of a processing circuit 222, a network interface 226, a key derivation circuit 227, an account database 228, a mobile wallet database 229, and an original data database 230. While various circuits, interfaces, and logic with particular functionality are shown, it should be understood that the host 120 includes any number of circuits, interfaces, and logic for facilitating the operations described herein. For example, the activities of multiple circuits are combined as a single circuit and implemented on a same processing circuit (e.g., the processing circuit 222), as additional circuits with additional functionality are included. In some arrangements, the processing circuit 222 has a processor 223 and memory 224.

The processor 223 is implemented as a general-purpose processor, an Application Specific Integrated Circuit (ASIC), one or more Field Programmable Gate Arrays (FPGAs), a Digital Signal Processor (DSP), a group of processing components, or other suitable electronic processing components. The memory 224 (e.g., Random Access Memory (RAM), Read-Only Memory (ROM), Non-volatile RAM (NVRAM), Flash Memory, hard disk storage, etc.) stores data and/or computer code for facilitating the various processes described herein. Moreover, the memory 224 is or includes tangible, non-transient volatile memory or non-volatile memory. Accordingly, the memory 224 includes database components, object code components, script components, or any other type of information structure for supporting the various activities and information structures described herein. In some arrangements, the memory 224 stores various security keys, such as, but not limited to, the key 140.

The network interface 226 is configured for and structured to establish connection with the device 110. The network interface 226 is structured for sending and receiving of data over a communication network (e.g., the P2P network). Accordingly, the network interface 226 includes any of a cellular transceiver (for cellular standards), local wireless network transceiver (for 802.11X, ZigBee, Bluetooth, Wi-Fi, or the like), wired network interface, a combination thereof (e.g., both a cellular transceiver and a Bluetooth transceiver), and/or the like.

The key derivation circuit 227 can be implemented with the processing circuit 222 or a separate processing circuit such as, but not limited to, the processing circuit 222. In some arrangements, the key derivation circuit 227 can derive keys based on an initial key and a parameter in the manner described. In some arrangements, the key derivation circuit 227 provides key generation functionalities to the host 120. Illustrating with a non-limiting example, the key derivation circuit 227 provides a host-based application to be downloaded by the host 120. Illustrating with another non-limiting example, the key derivation circuit 227 provides a web-based application to be accessed by the host 120. The key derivation circuit 227 can provide APIs and/or SDKs to the host 120.

The key derivation circuit 227 is operatively coupled to one or more of the components of the server 120. For example, the key derivation circuit 227 is operatively coupled to the network interface 226 for communicating with the device 110. The key derivation circuit 227 as facilitated by the network interface 226 can receive encrypted original data and a parameter (e.g., the encrypted original data 170 and the parameter 180) from the device 110.

The account database 228 that stores customer information and account information relating to one or more accounts held by the user or customer of the device 110 with the server 120. In this regard, more than one financial institution with an associated financial institution computing system can be communicably coupled to the components of FIG. 2B over the network 130 to access the accounts held by the user or customer. The account database 228 stores transaction history of transactions using one or more accounts with, for example, the banking client application 270, the mobile wallet client application 280, or with other suitable applications.

The mobile wallet account database 229 stores mobile wallet accounts of users, including the user or customer of the client device 110. The mobile wallet accounts permit payments via a mobile wallet client application 209 of the client device 110. The mobile wallet account database 229 stores transaction history of transactions made by the user or customer using the mobile wallet client application 209.

The original data database 230 stores the original data. In some arrangements, the original data database 230 stores relationships (e.g., in a lookup table) between the original data and unique identification. The unique identification can be used to identify corresponding original data.

FIG. 2C is a block diagram of an example of the key injection facility 150 set forth in system 100 of FIG. 1, according to some arrangements. Referring to FIGS. 1-2C, the key injection facility 150 is shown to include various circuits and logic for implementing operations described herein. More particularly, the key injection facility 150 includes one or more of a processing circuit 250, a network interface 256, and a key generation circuit 258. While various circuits, interfaces, and logic with particular functionality are shown, it should be understood that the key injection facility 150 includes any number of circuits, interfaces, and logic for facilitating the operations described herein. For example, the activities of multiple circuits are combined as a single circuit and implemented on a same processing circuit (e.g., the processing circuit 250), as additional circuits with additional functionality are included. In some arrangements, the processing circuit 250 has a processor 252 and memory 254.

The processor 252 is implemented as a general-purpose processor, an Application Specific Integrated Circuit (ASIC), one or more Field Programmable Gate Arrays (FPGAs), a Digital Signal Processor (DSP), a group of processing components, or other suitable electronic processing components. The memory 254 (e.g., Random Access Memory (RAM), Read-Only Memory (ROM), Non-volatile RAM (NVRAM), Flash Memory, hard disk storage, etc.) stores data and/or computer code for facilitating the various processes described herein. Moreover, the memory 254 is or includes tangible, non-transient volatile memory or non-volatile memory. Accordingly, the memory 254 includes database components, object code components, script components, or any other type of information structure for supporting the various activities and information structures described herein.

The network interface 256 is configured for and structured to establish connection with the device 110. The network interface 256 is structured for sending and receiving of data over a communication network (e.g., the P2P network). Accordingly, the network interface 256 includes any of a cellular transceiver (for cellular standards), local wireless network transceiver (for 802.11X, ZigBee, Bluetooth, Wi-Fi, or the like), wired network interface, a combination thereof (e.g., both a cellular transceiver and a Bluetooth transceiver), and/or the like.

The key generation circuit 258 is executed by the processing circuit 250 in some arrangements. The key generation circuit 258 can generate an initial key (IK) for the device 110 based on identification (ID) (e.g., a serial number) of the device 110 and a base key (BK). The BK can be any key from which an IK can be generated. The key generation circuit can also provide the BK and the ID of the device 110 to a host 120 such that the host 120 can generate the IK and the device 110 and the host 120 can initiate communications.

FIG. 3 is a flow diagram illustrating a method 300 for generating cryptographic keys between the device 110 and the host 120, according to various arrangements. As shown in FIG. 3, boxes with rounded corners denote a process, and boxes with sharp corners denote data or information. Referring to FIGS. 1-3, the method 300 illustrates an example of generating cryptographic keys (e.g., one or more of the keys 307, 313, 319, or 325) and transmitting original data protected by the cryptographic keys, where each of the keys is unique to a transaction involving the original data. One of ordinary skill in the art can appreciate that other arrangements of generating cryptographic keys and transmitting original data protected by the cryptographic keys can be implemented.

In some arrangements, two different functions are used to derive a cryptographic key from the BK and a random number to assure that the cryptographic key is unique to a given transaction involving original data. In some arrangements, the first function (and/or iterations thereof) and the second function are stringed together. The first function (F) is a repetitive one-way function. A one-way function returns a result corresponding to an input in a forward operation. In a reverse operation, it is computationally complex or almost impossible to use the one-way function to derive the input using the result. The first function (F) can be iterated multiple times for synchronizing the derived tokens in the manner described.

In some arrangements, the first function (F) is a modulo function (MOD) of the addition of a random number to a previously generated number. Illustrating with a non-limiting example in the AES-256 space, the first function (F) can add the BK to the ID of the device 110 and take MOD (2²⁵⁶) of the resulting number in order to generate a key. Using a MOD function assures that the resulting number is always within the AES-256 space such that it does not become too large and unwieldy.

A second function (G) can be used for forward secrecy and prevents discovery of any intermediary values and the original data by obfuscating the cryptographic key. The second function (G) is different than the first function (F). In some arrangements, the second function is a one-way function. In some arrangements, the second function is a one-way hash function. Illustrating with a non-limiting example, the second function (G) can be a Secure Hash Algorithm 256 (SHA-256) hash function. Illustrating with another non-limiting example, the second function (G) can be a hash-based message authentication code (HMAC) function. The device 110 and the host 120 can securely establish the same symmetric key and use it for the HMAC function. The symmetric key can be updated periodically (e.g., daily, hourly, or the like).

In the examples shown, the first functions (F) 306, 312, 318, 324, 341, 349, 357, and 365 are the same function executed for different transactions and/or by a different one of the device 110 and the host 120. The second functions (G(K)) 308, 314, 320, 326, 343, 351, 359, and 367 are the same function executed for different transactions and/or by a different one of the device 110 and the host 120.

In some arrangements, the first functions (F) 306, 312, 318, 324, 341, 349, 357, and 365 are not all the same functions, and the second functions (G(K)) 308, 314, 320, 326, 343, 351, 359, and 367 are not all the same functions. The method for generating cryptographic keys will be successful as long as the corresponding functions (F) and (G) are identical for the device 110 and the host 120 for a single transaction. For example, the method for generating cryptographic keys will be successful if (F(R₁)) 306 is identical to (F(T₁)) 341 and (G(K₁)) 308 is equivalent to (G(K₁)) 343. The functions (F) and (G) for subsequent transactions do not need to be identical to the functions (F) and (G) for previous transactions for the method to be successful.

In some arrangements, the key injection facility 150 creates an IK (K₀) 303 by first creating a BK 301. In some arrangements, the BK 301 is generated by host 120, and the host 120 provides the BK 301 to the key injection facility 150. BK 301 is a value (e.g., a binary string of zeroes and ones) randomly selected by the key injection facility 150. For example, the BK 301 can be a randomly selected 256-bit string. After selecting the BK 301, the key injection facility 150 inputs the BK 301 to a function (F(ID)) 302 that uses a unique ID 304 (e.g., a unique identification number, a serial number, etc.) of the device 110 as the input to the function (F(ID)) 302. For example, the ID 304 can be a 32-bit random value. The function (F(ID)) 302 can be a MOD function based on AES-256 such that the result of the MOD of the addition of the BK 301 and the ID 304 is within the AES-256 space, represented by: F(ID)=K ₀=(BK+ID)MOD 2²⁵⁶  (1)

The key injection facility 150 injects the IK (K₀) 303 into the device 110 for further calculations. In some arrangements, the key injection facility 150 provides additional initial keys to other devices with unique identification. Because each of the devices to which the key injection facility 150 provides an initial key has a unique identification, each of the devices is provided with a unique initial key. In some arrangements, the key injection facility 150 further provides the BK 301 and the ID 304 to the host 120 via the network 130 such that the host 120 can derive the IK (K₀) 303 for use in further calculations. In some arrangements, the host 120 provides the BK 301 to the key injection facility 150.

A user of the device 110 can initiate transactions. A transaction refers to any message where data need to be protected (e.g., encrypted, MAC, HMAC) using symmetric cryptography between the device 110 and the host 120. Illustrating with a non-limiting example, a transaction includes using a payment card number to purchase goods or services in a given moment in time (e.g., at checkout). Subsequent instances in which the same payment card number is used correspond to subsequent transactions based on the same original data.

As shown, for a first transaction using original data, a key for the original data is generated using the IK (K₀) 303 and a random number (R₁) as inputs to a function (F(R₁)) 306. The random number (R₁) can be generated in a variety of ways. As a non-limiting example, the random number (R₁) can be generated by a random number generator internal to the device 110. As another non-limiting example, the random number (R₁) can be generated by a biometric sample entered by the user when the transaction is initiated (e.g., a fingerprint scan, a retina scan, etc.). The random numbers generated by a fingerprint scan, for example, can be generated by reading the orientation of the ridges of the user's finger. Because a user will likely never place a finger on a fingerprint scanner the exact same way, the number generated from the ridges will be random and unpredictable. As yet another non-limiting example, the random number (R₁) can be generated by any entropy source (e.g., a solar radiation collector, a quantum molecular measurement device, computing system components, etc.) that can provide random numbers. The random numbers generated by a quantum molecular measurement device, for example, can be generated by the uncertainty of measuring certain quantum states. The random numbers generated by computing system components, for example, can be generated by the physical or logical chaos inherent within the components. To assure the random number (R₁) generates enough entropy, the random number (R₁) can be run through a one-way hash function. The random number (R₁) can be any length to provide for the appropriate level of security. In some arrangements, the random number (R₁) is a 32-bit random value. In some arrangements, the random number (R₁) can be other values (e.g., a 64-bit random value, a 128-bit random value, a 256-bit random value, etc.).

When the device 110 generates the random number (R₁), the device 110 also creates a parameter (T₁) 340 based on (R₁) such that: T ₁ =R ₁  (2)

The function (F(R₁)) 306 creates a key (K₁) 307 by taking the MOD of the addition of the IK (K₀) 303 to the random number (R₁), as represented by the following equation: F(R ₁)=K ₁=(K ₀ +R ₁)MOD 2²⁵⁶  (3)

Accordingly, the key (K₁) 307 is also a random number because it is based on a function of at least one other random number (e.g., R₁). In some arrangements, after the key (K₁) 307 is created, the IK (K₀) 303 can be destroyed. As shown in equation (3), the MOD 2²⁵⁶ was used, however, any other MOD function can be used to implement the arrangements described herein (e.g., MOD 2¹²⁸, MOD 2⁵¹², MOD 2¹⁰²⁴, etc.).

The key (K₁) 307 is used as input to the second function (G(K₁) 308 to create a cryptographic key (C₁) 309. The cryptographic key (C₁) 309 is used to protect the original data sent from the device 110 to the host 120. To further protect the original data during the transmission over the network 130, the device 110 can encrypt the original data using an encryption function (E(P)) 310 and the cryptographic key (C₁) 309. The encryption functions (E(P)) 310, 316, 322, and 328 are the same function executed for different transactions. In some arrangements, the original data is encrypted using any suitable encryption function (E(P)) 310, and the encryption function (E(P)) 310 outputs encrypted original data (C₁(P)) 311. The device 110 transmits the encrypted original data (C₁(P)) 311 and the parameter (T₁) 340 associated with the transaction to the host 120 via the network 130.

In some arrangements, the host 120 determines the IK (K₀) 303 in a manner substantially equivalent to the manner in which the key injection facility 150 determines the IK (K₀) 303 (e.g., the host 120 adds the BK 301 to the function (F(ID)) 302 that uses the unique ID 304 of the device 110 as the input to the function 302). In some arrangements, the key injection facility 150 provides the IK (K₀) 303 to the host 120 via the network 130. The function (F(T₁)) 341 derives a host-derived key (K₁) 342 by adding the IK (K₀) 303 to the parameter (T₁) 340, as represented by the following equation: F(T ₁)=K ₁=(K ₀ +T ₁)MOD 2²⁵⁶  (4)

The function (F(T₁)) 341 is the same function as the function (F(R₁)) 306 such that, provided equivalent inputs, the functions (F(T₁)) 341 and (F(R₁)) 306 will provide equivalent results. Accordingly, because the random number (R₁) is equivalent to the parameter (T₁) 340, the key (K₁) 307 is equivalent to the host-derived key (K₁) 342.

The host-derived key (K₁) 342 is used as input to the second function (G(K₁)) 343 to create a host-derived cryptographic key (C₁) 344. The function (G(K₁)) 343 is the same function as the function (G(K₁)) 308 such that, provided equivalent inputs, the functions (G(K₁)) 343 and 308 will provide equivalent results. Accordingly, because the key (K₁) 307 is equivalent to the host-derived key (K₁) 342, the host-derived cryptographic key (C₁) 344 is equivalent to the cryptographic key (C₁) 309.

The encrypted original data (C₁(P)) 311 is decrypted using the host-derived cryptographic key (C₁) 344 and a suitable decryption function (D(P)) 347. The decryption functions (D(P)) 347, 355, 363, and 371 are the same function executed for different transactions and are configured to decrypt data encrypted using the host-derived cryptographic keys. After decrypting the data using the host-derived cryptographic key (C₁) 344 and the decryption function (D(P)) 3, the original data can be read.

As shown, for a second transaction, the key (K₁) 307 is used as an input to a function (F(R₂)) 312. A random number (R₂) is also used as an input to the function (F(R₂)) 312 such that the function (F(R₂)) 312 creates a key (K₂) 313 as shown by the following equation: F(R ₂)=K ₂=(K ₁ +R ₂)MOD 2²⁵⁶  (5)

The random number (R₂) is generated by any of the methods previously described. Accordingly, the key (K₂) 313 is also a random number because it is based on a function of at least one other random number (e.g., K₁, R₂). In some arrangements, after the key (K₂) 313 is created, the key (K₁) 307 can be destroyed. When the device 110 generates the random number (R₂), the device 110 also creates a parameter (T₂) 348 based on (R₂) such that: T ₂ =T ₁ +R ₂  (6)

The key (K₂) 313 is used as input to the second function (G(K₂)) 314 to create a cryptographic key (C₂) 315. The cryptographic key (C₂) 315 is used to protect the original data sent from the device 110 to the host 120. To further protect the original data during the transmission over the network 130, the device 110 can encrypt the original data using an encryption function (E(P)) 316 and the cryptographic key (C₂) 315. In some arrangements, the original data is encrypted using any suitable encryption function (E(P)) 316, and the encryption function (E(P)) 316 outputs encrypted original data (C₂(P)) 317. The device 110 transmits the encrypted original data (C₂(P)) 317 and the parameter (T₂) 348 associated with the transaction to the host 120 via the network 130.

The function (F(T₂)) 349 derives a host-derived key (K₂) 350, as shown in the equation below: F(T ₂)=K ₂=(K ₀ +T ₂)MOD 2²⁵⁶  (7)

The function (F(T₂)) 349 is the same function as the function (F(R₂)) 312 such that, provided equivalent inputs, the functions (F(T₂)) 349 and (F(R₂)) 312 will provide equivalent results. Accordingly, because the inputs are equivalent, the key (K₂) 313 is equivalent to the host-derived key (K₂) 350.

The host-derived key (K₂) 350 is used as input to the second function (G(K₂)) 351 to create a host-derived cryptographic key (C₂) 352. The second function (G(K₂)) 351 is the same function as the second function (G(K₂)) 314 such that, provided equivalent inputs, the functions (G(K₂)) 351 and 314 will provide equivalent results. Accordingly, because the key (K₂) 313 is equivalent to the host-derived key (K₂) 350, the host-derived cryptographic key (C₂) 352 is equivalent to the cryptographic key (C₂) 315.

The encrypted original data (C₂(P)) 317 is decrypted using the host derived cryptographic key (C₂) 352 and a suitable decryption function (D(P)) 355. The decryption functions (D(P)) 347, 355, 363, and 371 are the same function executed for different transactions and are configured to decrypt data encrypted using the host-derived cryptographic keys. After decrypting the data using the host-derived cryptographic key (C₂) 352 decryption function (D(P)) 355, the original data can be read.

As shown, for a third transaction, the key (K₂) 313 is used as an input to a function (F(R₃)) 318. A random number (R₃) is also used as an input to the function (F(R₃)) 318 such that the function (F(R₃)) 318 creates a key (K₃) 319 as shown by the following equation: F(R ₃)=K ₃=(K ₂ +R ₃)MOD 2²⁵⁶  (8)

The random number (R₃) is generated by any of the methods previously described. Accordingly, the key (K₃) 319 is also a random number because it is based on a function of at least one other random number (e.g., K₂, R₃). In some arrangements, after the key (K₃) 319 is created, the key (K₂) 313 can be destroyed. When the device 110 generates the random number (R₃), the device 110 also creates a parameter (T₃) 356 based on (R₃) such that: T ₃ =T ₂ +R ₃  (9)

The key (K₃) 319 is used as input to the second function (G(K₃)) 320 to create a cryptographic key (C₃) 321. The cryptographic key (C₃) 321 protects the original data sent from the device 110 to the host 120. To further protect cryptographic keys during the transmission over the network 130, the device 110 can encrypt the original data using the encryption function (E(P)) 322 and the cryptographic key (C₃) 321. In some arrangements, the original data is encrypted using any suitable encryption function (E(P)) 322, and the encryption function (E(P)) 322 outputs encrypted original data (C₃(P)) 323. The device 110 transmits the encrypted original data (C₃(P)) 323 and the parameter (T₃) 356 associated with the transaction to the host 120 via the network 130.

The function (F(T₃)) 357 derives a host-derived key (K₃) 358, as shown by the equation below: F(T ₃)=K ₃=(K ₀ +T ₃)MOD 2²⁵⁶  (10)

The function (F(T₃)) 357 is the same function as the function (F(R₃)) 318 such that, provided equivalent inputs, the functions (F(T₃)) 357 and (F(R₃)) 318 will provide equivalent results. Accordingly, because the inputs are equivalent, the key (K₃) 319 is equivalent to the host-derived key (K₃) 358.

The host-derived key (K₃) 358 is used as input to the second function (G(K₃)) 359 to create a host-derived cryptographic key (C₃) 360. The second function (G(K₃)) 359 is the same function as the second function (G(K₃)) 320 such that, provided equivalent inputs, the functions (G(K₃)) 359 and 320 will provide equivalent results. Accordingly, because the key (K₃) 319 is equivalent to the host-derived key (K₃) 358, the host-derived cryptographic key (C₃) 360 is equivalent to the cryptographic key (C₃) 321.

The encrypted original data (C₃(P)) 323 is decrypted using the host derived cryptographic key (C₃) 360 and a suitable decryption function (D(P)) 363. The decryption functions (D(P)) 347, 355, 363, and 371 are the same function executed for different transactions and are configured to decrypt data encrypted using the host-derived cryptographic keys. After decrypting the data using the host-derived cryptographic key (C₃) 360 and the decryption function (D(P)) 363, the original data can be read.

As shown, for the n^(th) transaction, the key (K_(N-1)) 325 is used as an input to a function (F(R_(N))) 324. A random number (R_(N)) is also used as an input to the function (F(R_(N))) 324 such that the function (F(R_(N))) 324 creates a key (K_(N)) 325 as shown by the following equation: F(R _(N))=K _(N)=(K _(N-1) +R _(N))MOD 2²⁵⁶  (11)

The random number (R_(N)) is generated by any of the methods previously described. Accordingly, the key (K_(N)) 325 is also a random number because it is based on a function of at least one other random number (e.g., K_(N-1), R_(N)). In some arrangements, after the key (K_(N)) 325 is created, the key (K_(N-1)) can be destroyed. When the device 110 generates the random number (R_(N)), the device 110 also creates a parameter (T_(N)) 364 based on (R_(N)) such that: T _(N) =T _(N-1) +R _(N)  (12)

The key (K_(N)) 325 is used as input to the second function (G(K_(N))) 326 to create a cryptographic key (C_(N)) 327. The cryptographic key (C_(N)) 327 is used to protect the original data sent from the device 110 to the host 120. To further protect the original data during the transmission over the network 130, the device 110 can encrypt the original data using an encryption function (E(P)) 328 and the cryptographic key (C_(N)) 327. In some arrangements, the original data is encrypted using any suitable encryption function (E(P)) 328, and the encryption function (E(P)) 328 outputs an encrypted original data (C_(N)(P)) 329. The device 110 transmits the encrypted original data (C_(N)(P)) 329 and the parameter (T_(N)) 364 associated with the transaction to the host 120 via the network 130.

The function (F(T_(N))) 365 derives a host-derived key (K_(N)) 366 as shown by the equation below: F(T _(N))=K _(N)=(K ₀ +T _(N))MOD 2²⁵⁶  (13)

The function (F(T_(N))) 365 is the same function as the function (F(R_(N))) 324 such that, provided equivalent inputs, the functions (F(T_(N))) 365 and (F(R_(N))) 324 will provide equivalent results. Accordingly, because the inputs are equivalent, the key (K_(N)) 325 is equivalent to the host-derived key (K_(N)) 366.

The host-derived key (K_(N)) 366 is used as input to the second function (G(K_(N))) 367 to create a host-derived cryptographic key (C_(N)) 368. The second function (G(K_(N))) 367 is the same function as the second function (G(K_(N))) 326 such that, provided equivalent inputs, the functions (G(K_(N))) 367 and 326 will provide equivalent results. Accordingly, because the key (K_(N)) 325 is equivalent to the host-derived key (K_(N)) 366, the host-derived cryptographic key (C_(N)) 368 is equivalent to the cryptographic key (C_(N)) 327.

The encrypted original data (C_(N)(P)) 329 is decrypted using the host derived cryptographic key (C_(N)) 368 and a suitable decryption function (D(P)) 371. The decryption functions (D(P)) 347, 355, 363, and 371 are the same function executed for different transactions and are configured to decrypt data encrypted using the host-derived cryptographic keys. After decrypting the data using the host-derived cryptographic key (C₂) 352 and the decryption function (D(P)) 371, the original data can be read.

FIG. 4 is a flow diagram illustrating a method 400 for generating cryptographic keys and encrypting and decrypting original data, according to various arrangements. Referring to FIGS. 1-4, the method 400 is executed by the device 110 in some arrangements. Each of blocks 410-450 corresponds to one or more of the blocks 301-371.

At 410, the device 110 initiates a transaction involving original data that needs to be cryptographically protected by a key. In some arrangements, the key can be generated using an IK 303 and a random number. In other arrangements, the key can be generated using the previous key and a random number. Illustrating with a non-limiting example, the transaction may be the second transaction involving original data.

At 420, the device 110 derives a key (e.g., the cryptographic key (C₂) 315) from the previous key (K₁) 307 and a random number (R₂). The cryptographic key (C₂) 315 is unique to the transaction. The device 110 also generates a parameter (e.g., the parameter (T₂) 348) based on the random number (R₂).

In some arrangements, the client device runs a first function (e.g., the first function (F(R₂)) 312 with a previous key (K₁) 307 and a random number (R₂) as inputs to derive the key (K₂) 313. In some arrangements, upon the key (K₂) 313 being derived, the previous key (K₁) 307 can be deleted, such that only the most current key is stored on the device 110. In some arrangements, the device 110 runs a second function (e.g., the second function (G(K₂)) 314) with the key (K₂) as input to determine the cryptographic key (C₂) 315. In some arrangements, the cryptographic key (C₂) 315 and the encryption function (E(P)) 316 are used to encrypt the original data and create the encrypted original data C₂(P) 317.

At 430, the client device sends the encrypted original data (C₂(P)) 317 to the host 120. In some arrangements, the device 110 sends the parameter (T₂) 348 to the host 120 with the encrypted key (C₂(P)) 317.

At 440, the host 120 derives a host-derived key (e.g., the host-derived key cryptographic key (C₂) 352) from the IK (K₀) 303 and the parameter (T₂) 348. The host-derived cryptographic key (C₂) 352 is unique to the transaction.

In some arrangements, the host 120 executes a first function (e.g., the first function (F(T₂)) 349) with the IK (K₀) 303 and the parameter (T₂) 348 as inputs to derive the host-derived key (K₂) 350. In some arrangements, upon the host-derived key (K₂) 350 being derived, the previous host-derived key (K₁) 342 can be deleted, such that only the most current key is stored on the host 120. In some arrangements, the host 120 executes a second function (e.g., the second function (G(K₂)) 351 with the key (K₂) 350 as input to determine the host-derived cryptographic key (C₂) 352. In some arrangements, the host-derived cryptographic key (C₂) 352 and the decryption function (D(P)) 355 are used to decrypt the encrypted original data (C₂(P)) 317. At 450, the original data can be viewed.

The method 400 can be repeated for a subsequent transaction (e.g., the N^(th) transaction). For example, the device 110 can initiate another transaction involving the original data. The device 110 derives a key (e.g., the cryptographic key (C_(N)) 327) from the previous key (K_(N-1)) and a random number (R_(N)) in the manner described. The cryptographic key (C_(N)) 327 is unique to the transaction.

The device 110 sends the encrypted original data (C_(N)(P)) 329 to the host 120. In some arrangements, the device 110 sends the encrypted original data (C_(N)(P)) 329 to the host 120 along with a random number (R_(N)). The host 120 derives the host derived cryptographic key (C_(N)) 368 in the manner described. The host 120 decrypts the encrypted original data (C_(N)(P)) 329 with the decryption function (D(P)) 371 and the host derived cryptographic key (C_(N)(P)) 329 in the manner described. The original data can then be viewed.

FIG. 5 is a block diagram of an example of the key generation process set forth in FIG. 3. As described, the example key generation process occurs in the AES 256-bit space. However, the key generation process can occur in any other encryption space (e.g., AES 128-bit space, AES 1024-bit space, etc.). The AES 256-bit space is represented by the continuum 602 that extends from zero (e.g., the lowest value in the 256-bit space) to 2²⁵⁶ (e.g., the highest value in the 256-bit space).

As described, the BK 301 is included as input to the function (F(R₁)) 306 such that the key (K₁) 307 is created, as shown in equation (2). In this example, because the value of K₀+R₁ is less than 2²⁵⁶, the output of the function (F(R₁)) 306 is equal to K₀+R₁ (e.g., the MOD portion of the function (F(R₁)) 306 is not executed). Thus, the key (K₁) 306 is located on the continuum 602 with a value higher than that of the BK 301.

The key (K₁) is used as input to the function (F(R₂)) 312 such that the key (K₂) 313 is created, as shown in equation (5). In this example, because the value of K₁+R₂ is less than 2²⁵⁶, the output of the function (F(R₂)) 312 is equal to K₁+R₂ (e.g., the MOD portion of the function (F(R₂)) 312 is not executed). Thus, the key (K₂) 313 is located on the continuum 602 with a value higher than that of the key (K₁) 306.

The key (K₂) 313 is used as input to the function (F(R₃)) 318 such that the key (K₃) 319 is created, as shown in equation (8). In this example, because the value of K₂+R₃ is greater than 2²⁵⁶, the MOD portion of the function (F(R₃)) 318 is executed to assure the value of the key (K₃) 319 remains on the continuum 602. Thus, the key (K₃) 319 is located on the continuum 602 with a value lower than that of the key (K₂) 313.

As utilized herein, the terms “approximately,” “substantially,” and similar terms are intended to have a broad meaning in harmony with the common and accepted usage by those of ordinary skill in the art to which the subject matter of this disclosure pertains. It should be understood by those of ordinary skill in the art who review this disclosure that these terms are intended to allow a description of certain features described and claimed without restricting the scope of these features to the precise numerical ranges provided. Accordingly, these terms should be interpreted as indicating that insubstantial or inconsequential modifications or alterations of the subject matter described and claimed are considered to be within the scope of the disclosure as recited in the appended claims.

Although only a few arrangements have been described in detail in this disclosure, those skilled in the art who review this disclosure will readily appreciate that many modifications are possible (e.g., variations in sizes, dimensions, structures, shapes, and proportions of the various elements, values of parameters, mounting arrangements, use of materials, colors, orientations, etc.) without materially departing from the novel teachings and advantages of the subject matter described herein. For example, elements shown as integrally formed may be constructed of multiple components or elements, the position of elements may be reversed or otherwise varied, and the nature or number of discrete elements or positions may be altered or varied. The order or sequence of any method processes may be varied or re-sequenced according to alternative arrangements. Other substitutions, modifications, changes, and omissions may also be made in the design, operating conditions and arrangement of the various exemplary arrangements without departing from the scope of the present disclosure.

The arrangements described herein have been described with reference to drawings. The drawings illustrate certain details of specific arrangements that implement the systems, methods and programs described herein. However, describing the arrangements with drawings should not be construed as imposing on the disclosure any limitations that may be present in the drawings.

It should be understood that no claim element herein is to be construed under the provisions of 35 U.S.C. § 112(f), unless the element is expressly recited using the phrase “means for.”

As used herein, the term “circuit” may include hardware structured to execute the functions described herein. In some arrangements, each respective “circuit” may include machine-readable media for configuring the hardware to execute the functions described herein. The circuit may be embodied as one or more circuitry components including, but not limited to, processing circuitry, network interfaces, peripheral devices, input devices, output devices, sensors, etc. In some arrangements, a circuit may take the form of one or more analog circuits, electronic circuits (e.g., integrated circuits (IC), discrete circuits, system on a chip (SOCs) circuits, etc.), telecommunication circuits, hybrid circuits, and any other type of “circuit.” In this regard, the “circuit” may include any type of component for accomplishing or facilitating achievement of the operations described herein. For example, a circuit as described herein may include one or more transistors, logic gates (e.g., NAND, AND, NOR, OR, XOR, NOT, XNOR, etc.), resistors, multiplexers, registers, capacitors, inductors, diodes, wiring, and so on).

The “circuit” may also include one or more processors communicatively coupled to one or more memory or memory devices. In this regard, the one or more processors may execute instructions stored in the memory or may execute instructions otherwise accessible to the one or more processors. In some arrangements, the one or more processors may be embodied in various ways. The one or more processors may be constructed in a manner sufficient to perform at least the operations described herein. In some arrangements, the one or more processors may be shared by multiple circuits (e.g., circuit A and circuit B may comprise or otherwise share the same processor which, in some example arrangements, may execute instructions stored, or otherwise accessed, via different areas of memory). Alternatively or additionally, the one or more processors may be structured to perform or otherwise execute certain operations independent of one or more co-processors. In other example arrangements, two or more processors may be coupled via a bus to enable independent, parallel, pipelined, or multi-threaded instruction execution. Each processor may be implemented as one or more general-purpose processors, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), digital signal processors (DSPs), or other suitable electronic data processing components structured to execute instructions provided by memory. The one or more processors may take the form of a single core processor, multi-core processor (e.g., a dual core processor, triple core processor, quad core processor, etc.), microprocessor, etc. In some arrangements, the one or more processors may be external to the apparatus, for example the one or more processors may be a remote processor (e.g., a cloud based processor). Alternatively or additionally, the one or more processors may be internal and/or local to the apparatus. In this regard, a given circuit or components thereof may be disposed locally (e.g., as part of a local server, a local computing system, etc.) or remotely (e.g., as part of a remote server such as a cloud based server). To that end, a “circuit” as described herein may include components that are distributed across one or more locations.

An exemplary system for implementing the overall system or portions of the arrangements might include a general purpose computing computers in the form of computers, including a processing unit, a system memory, and a system bus that couples various system components including the system memory to the processing unit. Each memory device may include non-transient volatile storage media, non-volatile storage media, non-transitory storage media (e.g., one or more volatile and/or non-volatile memories), a distributed ledger (e.g., a blockchain), etc. In some arrangements, the non-volatile media may take the form of ROM, flash memory (e.g., flash memory such as NAND, 3D NAND, NOR, 3D NOR, etc.), EEPROM, MRAM, magnetic storage, hard discs, optical discs, etc. In other arrangements, the volatile storage media may take the form of RAM, TRAM, ZRAM, etc. Combinations of the above are also included within the scope of machine-readable media. In this regard, machine-executable instructions comprise, for example, instructions and data which cause a general purpose computer, special purpose computer, or special purpose processing machines to perform a certain function or group of functions. Each respective memory device may be operable to maintain or otherwise store information relating to the operations performed by one or more associated circuits, including processor instructions and related data (e.g., database components, object code components, script components, etc.), in accordance with the example arrangements described herein.

It should be noted that although the diagrams herein may show a specific order and composition of method steps, it is understood that the order of these steps may differ from what is depicted. For example, two or more steps may be performed concurrently or with partial concurrence. Also, some method steps that are performed as discrete steps may be combined, steps being performed as a combined step may be separated into discrete steps, the sequence of certain processes may be reversed or otherwise varied, and the nature or number of discrete processes may be altered or varied. The order or sequence of any element or apparatus may be varied or substituted according to alternative arrangements. Accordingly, all such modifications are intended to be included within the scope of the present disclosure as defined in the appended claims. Such variations will depend on the machine-readable media and hardware systems chosen and on designer choice. It is understood that all such variations are within the scope of the disclosure. Likewise, software and web arrangements of the present disclosure could be accomplished with standard programming techniques with rule based logic and other logic to accomplish the various database searching steps, correlation steps, comparison steps and decision steps.

The foregoing description of arrangements has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the disclosure to the precise form disclosed, and modifications and variations are possible in light of the above teachings or may be acquired from this disclosure. The arrangements were chosen and described in order to explain the principals of the disclosure and its practical application to enable one skilled in the art to utilize the various arrangements and with various modifications as are suited to the particular use contemplated. Other substitutions, modifications, changes and omissions may be made in the design, operating conditions and arrangement of the arrangements without departing from the scope of the present disclosure as expressed in the appended claims. 

What is claimed is:
 1. A method for using symmetric cryptographic keys between two entities comprising a device and a host, comprising: initiating, by the device, a transaction involving a first original data, wherein the first original data needs to be protected; deriving, by the device, a first cryptographic key based on an initial key and a first number, wherein the first cryptographic key is unique to the transaction, and the first number is randomly generated; and protecting, by the device, the first original data with the first cryptographic key; generating, by the device, a first parameter based on the first number; sending, by the device, the protected first original data and the first parameter to the host; initiating, by the device, another transaction involving a second original data, wherein the second original data needs to be protected; deriving, by the device, a second cryptographic key based on the first key and a second number, wherein the second cryptographic key is unique to the transaction and is different from the first key, and the second number is randomly generated; protecting, by the device, the second original data with the second cryptographic key; generating, by the device, a second parameter based on the second number; and sending, by the device, the protected second original data and the second parameter to the host; wherein deriving the first cryptographic key comprises: running a first function with a previously generated key as input to determine a first key, wherein the previously generated key is an output of the first function for a previous transaction; and running a second function with the first key as input to determine the first cryptographic key.
 2. The method of claim 1, wherein the first original data comprises one or more of a payment card number, a financial account number, a password, a social security number, a name, an address, an email address, any Personally Identifiable Information (PII), a security object, and a seed for key-generation.
 3. The method of claim 1, wherein the first number is randomly generated based on a random number generator using various entropy methods, comprising one of: physical or logical chaos of computing system components; unpredictability of capturing biometric sample data; or uncertainty of measuring quantum states.
 4. The method of claim 1, wherein the initial key is deleted after the first key is generated.
 5. The method of claim 1, wherein deriving the second cryptographic key comprises: running the first function with the first key and the second number as input to determine a second key; and running the second function with the second key as input to determine the second cryptographic key.
 6. The method of claim 5, wherein the first key is deleted after the second key is generated.
 7. The method of claim 1, wherein the second number is randomly generated based on a random number generator, comprising one of; physical or logical chaos of computing system components; unpredictability of capturing biometric sample data; or uncertainty of measuring quantum states.
 8. A device, comprising: a network interface; and a processing circuit configured to: initiate, by the device, a transaction involving a first original data, wherein the first original data needs to be protected; derive, by the device, a first cryptographic key based on an initial key and a first number, wherein the first cryptographic key is unique to the transaction and the first number is randomly generated; protect, by the device, the first original data with the first cryptographic key; generate, by the device, a first parameter based on the first number; send, by the device, the first cryptographic key and the first parameter to a host; initiate, by the device, a second transaction involving a second original data, wherein the second original data needs to be protected; derive, by the device, a second cryptographic key based on a first key and a second number, wherein the second key is unique to the second transaction, and the second number is randomly generated; protect, by the device, the second original data with the second cryptographic key; generate, by the device, a second parameter based on the first number; and send, by the device, the second cryptographic key and the second parameter to the host.
 9. The device of claim 8, wherein the processing circuit is further configured to delete the initial key after the first cryptographic key is generated.
 10. The device of claim 8, wherein the processing circuit is further configured to delete the first key after the second cryptographic key is generated. 